package com.ruoyi.project.personal.lifephoto.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 生活照对象 user_life_photo
 * 
 * @author wyh
 * @date 2024-06-16
 */
@ApiModel("用户生活照实体")
public class UserLifePhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("id")
    private Long id;

    /** uid */
    @Excel(name = "uid")
    @ApiModelProperty("用户id")
    private Long userId;

    /** 生活照 */
    @Excel(name = "生活照")
    @ApiModelProperty("生活照")
    private String lifePhoto;

    @Excel(name = "封面")
    @ApiModelProperty("封面")
    private String cover;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("最上级邀请人id")
    private Long topInviterId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLifePhoto(String lifePhoto) 
    {
        this.lifePhoto = lifePhoto;
    }

    public String getLifePhoto() 
    {
        return lifePhoto;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long getTopInviterId() {
        return topInviterId;
    }

    public void setTopInviterId(Long topInviterId) {
        this.topInviterId = topInviterId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return "UserLifePhoto{" +
                "id=" + id +
                ", userId=" + userId +
                ", lifePhoto='" + lifePhoto + '\'' +
                ", cover='" + cover + '\'' +
                ", status='" + status + '\'' +
                ", type='" + type + '\'' +
                ", topInviterId=" + topInviterId +
                '}';
    }
}
